Job Radar. Live notifications. AI processed.
freelancer.com 2026-04-14 🟠
🔹 Refactor Python Quotex Bot to Handle Cloudflare Blocking
👤 Client: 🇮🇳 Sitapur, India Member since 2020-04-18
💰 Price: $14 Average bid
🚩 Problem: Current Python script using websockets library fails due to Cloudflare JavaScript challenge during WebSocket handshake.
📦 Existing: Python script, websockets library, and existing bot logic.
Specifications:
[Target] Fix WebSocket connection issue with Quotex bot under Cloudflare blocking.
[Method] Implement a solution that completes the Cloudflare JS challenge and allows WebSocket upgrade.
[UI/UX] Not applicable
[Stack] Python, websockets library, requests, selenium (if needed)
[Security] Ensure secure handling of cookies and tokens.
[Format] JSON
Workflow:
Analyze the Cloudflare JavaScript challenge to determine required actions for authentication.
Implement a solution using Selenium or similar tool to emulate browser behavior and obtain necessary Cloudflare tokens (cf_clearance, __cflbcookie).
Inject obtained cookies into the WebSocket upgrade request headers.
Test the script on a fresh machine with no manual intervention.